package assql
{
	/**
	 * Used for executing SQL queries.
	 **/
	public interface Statement
	{
		function get sql():String;
		
		function set sql(value:String):void;
		
		function executeQuery(sql:String=null):SQLToken;
		
		function getMetaData():SQLToken;
		
		function setParameter(nameOrIndex:*, value:*):void;
		
		function getParameter(nameOrIndex:*):*;
		
		function registerOutputParameter(param:String):void;
		
		function getConnection():Connection;
	}
}